package com.yang.springboot.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author yanwei.yang
 * @date 2021/11/11 11:23
 * @description: indexcontroller
 */
@Controller
public class IndexController {

    @RequestMapping(value = "/springboot/say")
    @ResponseBody
    public Object say() {
        return "zhangsan";
    }
}
